package com.job2e.dao;

import org.springframework.stereotype.Service;

import com.job2e.common.CRUDDao;
import com.job2e.model.User;

@Service
public class UserDao extends CRUDDao<User> {
	public User findByEmail(String email) {
		return this.datastore.createQuery(User.class).filter("email =", email).get();
	}
}
